package com.zhangshuo.test1.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张硕
 * @since 2017-05-31
 */
public class Royalties extends Model<Royalties> {

    private static final long serialVersionUID = 1L;

	private String title_id;
	private BigDecimal advance;
	private BigDecimal royalty_rate;


	public String getTitle_id() {
		return title_id;
	}

	public void setTitle_id(String title_id) {
		this.title_id = title_id;
	}

	public BigDecimal getAdvance() {
		return advance;
	}

	public void setAdvance(BigDecimal advance) {
		this.advance = advance;
	}

	public BigDecimal getRoyalty_rate() {
		return royalty_rate;
	}

	public void setRoyalty_rate(BigDecimal royalty_rate) {
		this.royalty_rate = royalty_rate;
	}

	@Override
	protected Serializable pkVal() {
		return this.title_id;
	}

}
